Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.3
-
None
Description
When a an argument/variable is a BigDecimal or BigInteger, JEXL may try and convert it to double/long during arithmetic operator execution leading to unexpected results.
See discussion
(56.1B - 12) / 12 = 3.66666B != 3
User intent about precision should be maintained.